import request from "./request.ts";
// 登录方法
export function login(data: any) {
  return request({
    url: "/auth/login",
    method: "post",
    data,
  });
}
export function api(params: any) {
  return request({
    url: "/auth/login",
    method: "get",
    params,
  });
}
